/**
 * com.future CO.,ltd.
 */

package com.future.tank;

/**
 * 类说明：
 */
public class Main {

    public static void main(String[] args) throws InterruptedException {
        TankFrame tf = new TankFrame();
        // 初始化敌方坦克
        for (int i = 0; i < 5; i++) {
            tf.tanks.add(new Tank(50 + i * 100, 200, Dir.DOWN, tf, Group.BAD));
        }
        while (true) {
            Thread.sleep(50);
            tf.repaint();
        }
    }
}
